package com.czp.ssm.dao;

import com.czp.ssm.bean.Opera;
import com.czp.ssm.bean.TrainOrder;
import com.czp.ssm.bean.TrainOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TrainOrderMapper {
    long countByExample(TrainOrderExample example);

    int deleteByExample(TrainOrderExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TrainOrder record);

    int insertSelective(TrainOrder record);

    List<TrainOrder> selectByExample(TrainOrderExample example);

    TrainOrder selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TrainOrder record, @Param("example") TrainOrderExample example);

    int updateByExample(@Param("record") TrainOrder record, @Param("example") TrainOrderExample example);

    int updateByPrimaryKeySelective(TrainOrder record);

    int updateByPrimaryKey(TrainOrder record);

    List<TrainOrder> selectTrainOrderListByOpera(Opera opera);
}